//
//  FirstlogViewController.m
//  豆瓣YHY
//
//  Created by dllo on 15/11/3.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "FirstlogViewController.h"
#import "FirstView.h"
#import "MeLoginViewController.h"
@interface FirstlogViewController ()

@end

@implementation FirstlogViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor lightGrayColor];
    FirstView *firstView = [[FirstView alloc]initWithFrame:[UIScreen mainScreen].bounds];
    [self.view addSubview:firstView];
    [firstView.buttonlogin addTarget:self action:@selector(dengruAction:) forControlEvents:UIControlEventTouchUpInside];
    
}
- (void)dengruAction:(UIButton *)btu{
    MeLoginViewController *me = [[MeLoginViewController alloc]init];
    [self.navigationController pushViewController:me animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
